]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix the spacing in the mount operation auth prompt
authorWilliam Jon McCann <jmccann@redhat.com>
Mon, 27 Aug 2012 23:02:16 +0000 (19:02 -0400)
committerWilliam Jon McCann <jmccann@redhat.com>
Mon, 27 Aug 2012 23:03:00 +0000 (19:03 -0400)
We weren't setting the correct style attributes like we
were in the polkit auth dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=682645

js/ui/shellMountOperation.js

index a8f70647891421a623c40763ea53f9fa74e58bba..391a761d868e561d48eb969b766463148e98a4c0 100644 (file)
@@ -361,12 +361,12 @@ const ShellMountPasswordDialog = new Lang.Class({
         if (strings[1])
             description.set_text(strings[1]);
 
-        this._passwordBox = new St.BoxLayout({ vertical: false });
+        this._passwordBox = new St.BoxLayout({ vertical: false, style_class: 'prompt-dialog-password-box' });
         this._messageBox.add(this._passwordBox);
 
         this._passwordLabel = new St.Label(({ style_class: 'prompt-dialog-password-label',
                                               text: _("Passphrase") }));
-        this._passwordBox.add(this._passwordLabel);
+        this._passwordBox.add(this._passwordLabel, { y_fill: false, y_align: St.Align.MIDDLE });
 
         this._passwordEntry = new St.Entry({ style_class: 'prompt-dialog-password-entry',
                                              text: "",